package com.project.bean;

import java.time.LocalDate;
/**日志实体类*/
public class LogBean {
    /**日志id*/
    private int logId;
    /**时间*/
    private LocalDate logDate = LocalDate.now();
    /**日志内容*/
    private String content;

    public LogBean() {
    }

    public LogBean(String content) {
        this.content = content;
    }

    public int getLogId() {
        return logId;
    }

    public void setLogId(int logId) {
        this.logId = logId;
    }

    public LocalDate getLogDate() {
        return logDate;
    }

    public void setLogDate(LocalDate logDate) {
        this.logDate = logDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "logId=" + logId +
                ", logDate=" + logDate +
                ", content='" + content + '\'' +
                "}\n";
    }
}

